package cn.tedu.tmall.front.mall.service;

import cn.tedu.tmall.common.pojo.CurrentUser;
import cn.tedu.tmall.common.pojo.PageData;
import cn.tedu.tmall.front.mall.pojo.parm.OrderAddParam;
import cn.tedu.tmall.front.mall.pojo.vo.OrderListVO;
import org.springframework.transaction.annotation.Transactional;

public interface IOrderService {
   @Transactional
    void createOrder(CurrentUser user, OrderAddParam orderAddParam);

    PageData<OrderListVO> listOrder(CurrentUser user, Integer pageSize, Integer pageNum);
}
